import React, {Component} from 'react';

import './index.less';



class PreviewModal extends Component {
    constructor(props) {
        super(props);
    }

    render() {
        const {modal, editTable, gloRep} = this.props;

        return (    
            <div>
                {modal.createModal('preview', {
                    title: gloRep.language['hi6007-000210'], //'预览',
                    content: editTable.createEditTable('preview', {
                        cancelCustomRightMenu: true
                    }),
                    noFooter: true
                })}
            </div>
        );
    }
}

export default PreviewModal;